package cn.wei.reallyenjoy.comment.mapper;



import cn.wei.reallyenjoy.comment.pojo.vo.DiaryCommentVO;
import cn.wei.reallyenjoy.common.entity.Comments;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;

import java.util.List;

/**
 * <p>
 * 评论表 Mapper 接口
 * </p>
 *
 * @author Wei
 * @since 2021-11-28
 */
public interface CommentsMapper extends BaseMapper<Comments> {

    List<DiaryCommentVO> getCommentsByDiaryId(Long diaryId);
}
